docs: update libcamera installation to use Debian official packaging repository#1578
docs: update libcamera installation to use Debian official packaging repository#1578tangzz-radxa wants to merge 2 commits intoradxa-docs:mainfrom
Conversation
|
@copilot review this pr |
|
copilot只会响应我提的pr |
|
Thanks for the notes about copilot. The PR is ready for review by the editor team. |
- Update 'Erase SPI Flash' link from ../../low-level-dev/maskrom/erase to ../../getting-started/install-os/erase_spi-flash
- Update rkdeveloptool/rkdevtool links from ../../low-level-dev/maskrom/{linux,mac-os,windows} to ../../low-level-dev/install-os/rkdevtool_use with tab anchors (#tab-linux, #tab-macos, #tab-windows)
- Fixes broken links due to directory structure change in Rock 5B documentation
There was a problem hiding this comment.
Pull request overview
This PR updates the Radxa Dragon Q6A camera accessory docs to switch libcamera installation from upstream source builds to Debian’s official packaging repository workflow, and updates camera preview examples to use a GStreamer pipeline instead of qcam.
Changes:
- Replace libcamera build-from-upstream steps with Debian packaging repo (
salsa.debian.org) +dpkg-buildpackageflow. - Update “start camera” instructions to use
gst-launch-1.0 libcamerasrc ! autovideosink. - Adjust config-file guidance (notably for IMX219) to account for Debian-packaged file locations.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-8m-219.md | Switches libcamera install steps to Debian packaging; updates camera preview to GStreamer; adjusts config guidance. |
| i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-4k.md | Switches libcamera install steps to Debian packaging; updates camera preview to GStreamer. |
| i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-13m-214.md | Switches libcamera install steps to Debian packaging; updates camera preview to GStreamer. |
| i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-12m-577.md | Switches libcamera install steps to Debian packaging; updates camera preview to GStreamer. |
| docs/dragon/q6a/accessories/camera-8m-219.md | 中文版:切换为 Debian 打包仓库自打包安装;使用 GStreamer 启动预览;更新配置文件定位说明。 |
| docs/dragon/q6a/accessories/camera-4k.md | 中文版:切换为 Debian 打包仓库自打包安装(但页面当前不完整)。 |
| docs/dragon/q6a/accessories/camera-13m-214.md | 中文版:切换为 Debian 打包仓库自打包安装;使用 GStreamer 启动预览。 |
| docs/dragon/q6a/accessories/camera-12m-577.md | 中文版:切换为 Debian 打包仓库自打包安装;使用 GStreamer 启动预览。 |
| ### Modify configuration file | ||
|
|
||
| Enter the `libcamera` directory and edit `libcamera/src/ipa/simple/data/imx219.yaml`. | ||
| When using Debian packaged libcamera, the configuration file path may be different. If you need to modify the configuration file: |
There was a problem hiding this comment.
The updated instructions say the config file path differs for Debian-packaged libcamera, but the following step still refers to copying content into src/ipa/simple/data/imx219.yaml (source-tree path). Please update the surrounding text to consistently reference the installed config path you locate (or explain which package path to modify).
| ### 设置权限 | ||
|
|
There was a problem hiding this comment.
PR description says the camera start example was updated to use a GStreamer pipeline. This page currently stops at the permissions section and no longer includes any “启动摄像头(使用 GStreamer)” steps like the other camera pages, so the change is incomplete here.
There was a problem hiding this comment.
只要调用到libcamera组件都需要调整dma节点权限
- Change libcamera installation from direct compilation to Debian packaging - Use debian/0.4.0-7 branch from salsa.debian.org/multimedia-team/libcamera - Update camera preview to use gstreamer libcamera element -> autovideosink - Install gstreamer1.0-libcamera plugin for gstreamer integration - Optimize installation commands using apt-get install for dependency handling
31b404a to
101dd32
Compare
|
待验证 |
修改内容
根据内部技术支持需求,更新 Radxa Docs 中关于 libcamera 编译安装和启动摄像头实例的内容:
1. libcamera 编译安装方法
2. 启动摄像头实例
修改的文件
中文版本 (
docs/dragon/q6a/accessories/):camera-12m-577.mdcamera-8m-219.mdcamera-4k.mdcamera-13m-214.md英文版本 (
i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/):camera-12m-577.mdcamera-8m-219.mdcamera-4k.mdcamera-13m-214.md具体修改内容
libcamera 安装部分
启动摄像头部分
影响
此修改确保用户可以使用更稳定、维护更好的 Debian 官方打包版本,并使用更通用的 GStreamer 管道来启动摄像头,提高兼容性和易用性。